package com.dy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dy.common.annotation.Excel;
import com.dy.common.core.domain.BaseEntity;

/**
 * 小程序banner对象 applet_banner
 *
 * @author ruoyi
 * @date 2022-08-19
 */
public class AppletBanner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long bannerId;

    /** 标题 */
    @Excel(name = "标题")
    private String bannerTitle;

    /** 公告类型（1通知 2公告） */
    @Excel(name = "公告类型", readConverterExp = "1=通知,2=公告")
    private String bannerType;

    /** 描述 */
    @Excel(name = "描述")
    private String bannerDesc;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String bannerContent;

    /** 公告状态（0正常 1关闭） */
    @Excel(name = "公告状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    /** 跳转url */
    @Excel(name = "跳转url")
    private String noticeTargetUrl;

    /** 公告封面图 */
    @Excel(name = "公告封面图")
    private String noticeCover;

    /** 是否展示小程序banner中 */
    @Excel(name = "是否展示小程序banner中")
    private String isShow;

    public void setBannerId(Long bannerId)
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId()
    {
        return bannerId;
    }
    public void setBannerTitle(String bannerTitle)
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle()
    {
        return bannerTitle;
    }
    public void setBannerType(String bannerType)
    {
        this.bannerType = bannerType;
    }

    public String getBannerType()
    {
        return bannerType;
    }
    public void setBannerDesc(String bannerDesc)
    {
        this.bannerDesc = bannerDesc;
    }

    public String getBannerDesc()
    {
        return bannerDesc;
    }
    public void setBannerContent(String bannerContent)
    {
        this.bannerContent = bannerContent;
    }

    public String getBannerContent()
    {
        return bannerContent;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setNoticeTargetUrl(String noticeTargetUrl)
    {
        this.noticeTargetUrl = noticeTargetUrl;
    }

    public String getNoticeTargetUrl()
    {
        return noticeTargetUrl;
    }
    public void setNoticeCover(String noticeCover)
    {
        this.noticeCover = noticeCover;
    }

    public String getNoticeCover()
    {
        return noticeCover;
    }
    public void setIsShow(String isShow)
    {
        this.isShow = isShow;
    }

    public String getIsShow()
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerTitle", getBannerTitle())
            .append("bannerType", getBannerType())
            .append("bannerDesc", getBannerDesc())
            .append("bannerContent", getBannerContent())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("noticeTargetUrl", getNoticeTargetUrl())
            .append("noticeCover", getNoticeCover())
            .append("isShow", getIsShow())
            .toString();
    }
}
